package com.itsu.spbspider.service;

import com.itsu.spbspider.entity.News;

import java.util.List;

public interface OrmData {

    void writeDataToDb(List<News> list) throws Exception;

    default void writeDataToDbTask(List<News> list) throws Exception {

    }
}
